//
//  LBQRequestMobileLoginSendCode.m
//  liBaQiang
//
//  Created by 奇林刘 on 2018/11/9.
//  Copyright © 2018年 liu. All rights reserved.
//

#import "LBQRequestMobileLoginSendCode.h"

@implementation LBQRequestMobileLoginSendCode

+ (NSString *)urlComponent {
    return @"/mobile/login/sendCode";
}

+ (void)goRequestWithMobile:(nonnull NSString *)mobile
                   img_code:(nonnull NSString *)img_code
                       type:(LBQRequestMobileLoginSendCodeType)type
                  verify_id:(nonnull NSString *)verify_id
                    success:(Success)success
                    failure:(Failure)failure {
    
    NSMutableDictionary *parameters = [NSMutableDictionary dictionary];
    
    parameters[@"mobile"] = mobile;
    parameters[@"img_code"] = img_code;
    parameters[@"type"] = @(type);
    parameters[@"verify_id"] = verify_id;
    
    [self POSTWithParameters:parameters success:success failure:failure];
}

@end
